package com.zrc.superframe_net.common.download

import com.zrc.superframe_net.room.download.DownloadInfo
import com.zrc.superframe_net.room.download.DownloadState

/**
 * @Author: superman
 * @CreateTime: 6/27/21
 * @Describe:下载监听回调
 */
interface NetDownloadCallBack {

    fun updateProgress(info: DownloadInfo, progress: Int) //刷新进度

    fun updateState(info: DownloadInfo, state: DownloadState)//刷新状态
}